package com.zy.batiya.domain;

import java.util.List;

/**
 * @author zhangyi
 *
 */
public class Menu {
	
	private Integer id;
	
	private String name;
	
	private Integer parentId;//父节点id
	
	private String href;
	
	private List<Menu> childs;//子菜单

	private String hasRole;//所属角色
	
	private String css;//菜单样式
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getParentId() {
		return parentId;
	}

	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}

	public String getHref() {
		return href;
	}

	public void setHref(String href) {
		this.href = href;
	}

	public List<Menu> getChilds() {
		return childs;
	}

	public void setChilds(List<Menu> childs) {
		this.childs = childs;
	}
		
	public String getHasRole() {
		return hasRole;
	}

	public void setHasRole(String hasRole) {
		this.hasRole = hasRole;
	}

	public String getCss() {
		return css;
	}

	public void setCss(String css) {
		this.css = css;
	}

	public String getMenu_css() {
		return css;
	}

	public void setMenu_css(String css) {
		this.css = css;
	}
	
}
